package com.yuntu.service;

import com.yuntu.pojo.User;
import com.yuntu.utils.PageUtil;

import java.util.List;

public interface UserService {
    User login(String devCode,String devPassword) throws Exception;

    List<User> getPageAll(PageUtil<User> pageUtil) throws Exception;

    User getAllById(int id)throws Exception;

    Boolean upd(User user)throws Exception;

    Boolean del(int id)throws Exception;

    Boolean add(User user)throws Exception;

}
